<?php

// SQL HANDLING
define("TABLE_PREFIX"			,	"tbl_"				);	// prefixo das tabelas de banco
define("DB_LIMIT"				,	"60"				);	// prefixo das tabelas de banco

// SMARTY CONTROL CONSTANTS...
if (SMARTY_SITE){
	// ok we have a smartyy site - let's load the object and config values to make it work
	define("SMARTY_CACHING"					, false);	// liga o cache
	define("SMARTY_COMPILE_CHECK"			, true); 	// verifica s� se o template mudou // N�O USAR NO SITE LIVE
	define("SMARTY_FORCE_COMPILE"			, true); 	// refaz o template
	define("SMARTY_CACHE_LIFETIME"			, 1); 		// cache expiration time (seconds)

	// please note that the smarty directory is defined as SMARTY_DIR and not DIR_SMARTY
	// this is to guarantee than mortal users will not accidentally use it.
	// raiz dos diretorios utilizados pelo smarty (ie: template_dir, etc)
	define('SMARTY_WORK', DIR_SYSTEM . 'smarty/');
	//diretorio onde esta instalado o Smarty
	define('SMARTY_DIR', DIR_SYSTEM . 'smarty/libs/');

	// set localization to BRAZIL (smarty dates funcionar)
	putenv('LANG=pt_BR');
	setlocale(LC_TIME, 'pt_BR');
	require_once("smartyControl.php");
}

require_once("config.functions.php");

?>